/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author 13754
 * @create 2023/11/27
 * @since 1.0.0
 */
package com.mengniu.commerce.collect.controller;

import com.mengniu.commerce.collect.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @Date 2023/11/27 20:02
 * @Version 1.0.0
 */
@RestController
@RequestMapping("/item")
public class ItemController {

    @Autowired
    private  ItemService itemService;

    @GetMapping("/createItem")
    public void createItem(Long bosId,Long goodsId)  {
        itemService.createItemByMessage(bosId,goodsId);
    }
}
